using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class POrderInfo
    {
        #region Model
        private int _id;
        private int _adminid;
        private int _userid;
        private int _quanid;
        private string _num;
        private double _money;
        private double _postmoney;
        private double _scoremoney;
        private double _quanmoney;
        private double _productmoney;
        private double _allmoney;
        private int _score;
        private int _count;
        private string _logistics;
        private string _expressnum;
        private string _province;
        private string _city;
        private string _area;
        private string _realname;
        private string _mobile;
        private string _address;
        private int _state;
        private DateTime _paydate;
        private DateTime _senddate;
        private DateTime _receivedate;
        private DateTime _backdate;
        private DateTime _reminddate;
        private DateTime _createdate;

        //拓展字段
        public string StateText = "";
        public string CreateText = "";
        public string Post = "";
        public string PostState = "";
        public List<POrderDetailInfo> ChildList = new List<POrderDetailInfo>();
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 商户ID
        /// </summary>
        public int AdminID
        {
            set { _adminid = value; }
            get { return _adminid; }
        }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 优惠券ID
        /// </summary>
        public int QuanID
        {
            set { _quanid = value; }
            get { return _quanid; }
        }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string Num
        {
            set { _num = value; }
            get { return _num; }
        }
        /// <summary>
        /// 订单金额
        /// </summary>
        public double Money
        {
            set { _money = value; }
            get { return _money; }
        }
        /// <summary>
        /// 快递金额
        /// </summary>
        public double PostMoney
        {
            set { _postmoney = value; }
            get { return _postmoney; }
        }
        /// <summary>
        /// 积分抵扣金额
        /// </summary>
        public double ScoreMoney
        {
            set { _scoremoney = value; }
            get { return _scoremoney; }
        }
        /// <summary>
        /// 优惠券抵扣金额
        /// </summary>
        public double QuanMoney
        {
            set { _quanmoney = value; }
            get { return _quanmoney; }
        }
        /// <summary>
        /// 总金额
        /// </summary>
        public double AllMoney
        {
            set { _allmoney = value; }
            get { return _allmoney; }
        }
        /// <summary>
        /// 积分
        /// </summary>
        public int Score
        {
            set { _score = value; }
            get { return _score; }
        }
        /// <summary>
        /// 产品数量
        /// </summary>
        public int Count
        {
            set { _count = value; }
            get { return _count; }
        }
        /// <summary>
        /// 物流公司
        /// </summary>
        public string Logistics
        {
            set { _logistics = value; }
            get { return _logistics; }
        }
        /// <summary>
        /// 快递单号
        /// </summary>
        public string ExpressNum
        {
            set { _expressnum = value; }
            get { return _expressnum; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Province
        {
            set { _province = value; }
            get { return _province; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string City
        {
            set { _city = value; }
            get { return _city; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Area
        {
            set { _area = value; }
            get { return _area; }
        }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName
        {
            set { _realname = value; }
            get { return _realname; }
        }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string Mobile
        {
            set { _mobile = value; }
            get { return _mobile; }
        }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 订单状态 （0.未付款 1.已付款  2.）
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 付款时间
        /// </summary>
        public DateTime PayDate
        {
            set { _paydate = value; }
            get { return _paydate; }
        }
        /// <summary>
        /// 发货时间
        /// </summary>
        public DateTime SendDate
        {
            set { _senddate = value; }
            get { return _senddate; }
        }
        /// <summary>
        /// 收货时间
        /// </summary>
        public DateTime ReceiveDate
        {
            set { _receivedate = value; }
            get { return _receivedate; }
        }
        /// <summary>
        /// 退货时间
        /// </summary>
        public DateTime BackDate
        {
            set { _backdate = value; }
            get { return _backdate; }
        }
        /// <summary>
        /// 提醒发货时间
        /// </summary>
        public DateTime RemindDate
        {
            set { _reminddate = value; }
            get { return _reminddate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        #endregion Model
    }
}

